shader_type canvas_item;

uniform float progress=0;
float lerp(float a,float b,float t){
	return (b-a)*t+a;
}
void fragment(){
	vec4 color=texture(TEXTURE,UV);
	float r=lerp(color.r,1,progress);
	float g=lerp(color.g,1,progress);
	float b=lerp(color.b,1,progress);
	float a=texture(TEXTURE,UV).a;
	COLOR=vec4(r,g,b,a);
}